package actions;

import java.util.Vector;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.swing.text.html.HTMLDocument.Iterator;

import model.StudentDBModel;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import data.StudentData;

public class Chairs_6_toSpec extends Action{
	
	StudentDBModel model = new StudentDBModel();
	
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
	{
		
		StudentDBModel model = new StudentDBModel();		
		Vector<String> specAnalyticsFull;
		Vector<Integer> specAnalyticsNum;
		
		
		specAnalyticsFull = StudentDBModel.specAnalyticsFull();
		specAnalyticsNum = StudentDBModel.specAnalyticsNum();

		
		request.setAttribute("specAnalyticsFull", specAnalyticsFull);
		request.setAttribute("specAnalyticsNum", specAnalyticsNum);
		
	
		
		return mapping.findForward("success");
	}

}
